import request from '@/utils/request'

// 查询集中器指令日志列表
export function listConcentratorCommandLogs(query) {
    return request({
        url: '/basedata/concentratorcommandlogs/list',
        method: 'get',
        params: query
    })
}

// 查询集中器指令日志详细
export function getConcentratorCommandLogs(id) {
    return request({
        url: '/basedata/concentratorcommandlogs/' + id,
        method: 'get'
    })
}

// 新增集中器指令日志
export function addConcentratorCommandLogs(data) {
    return request({
        url: '/basedata/concentratorcommandlogs',
        method: 'post',
        data: data
    })
}

// 修改集中器指令日志
export function updateConcentratorCommandLogs(data) {
    return request({
        url: '/basedata/concentratorcommandlogs',
        method: 'put',
        data: data
    })
}

// 删除集中器指令日志
export function delConcentratorCommandLogs(id) {
    return request({
        url: '/basedata/concentratorcommandlogs/' + id,
        method: 'delete'
    })
}
